<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>名单列表</title>
<style type="text/css">
td {
	padding: 10px;
	text-align: center;
}
</style>
</head>
<body>
	<table border="1">
		<tr>
			<td>openId</td>
			<td>手机</td>
			<td>地址</td>
			<td>积分</td>
		</tr>
		<c:if test="${empty srList || fn:length(srList) <= 0}">
			<tr>
				<td colspan="4">没有数据</td>
			</tr>
		</c:if>
		<c:forEach items="${srList}" var="sr">
			<tr>
				<td><c:out value="${sr.openId}" /></td>
				<td><c:out value="${sr.phone}" /></td>
				<td><c:out value="${sr.address}" /></td>
				<td><c:out value="${sr.point}" /></td>
			</tr>
		</c:forEach>
	</table>
</body>
</html>